package com.loooooo.pm2024.modules.pm.mapper;


import com.loooooo.pm2024.modules.pm.model.Task;
import com.loooooo.pm2024.modules.pm.selector.TaskSelector;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskMapper {


    Task get(Long id);


    List<Task> select(TaskSelector selector);

    int count(TaskSelector selector);

    int insert(Task task);

    int update(Task task);


}
